package com.wyl.auth.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Description 系统权限
 * @Author WuYiLong
 * @Date 2025-04-04
 */
@Data
@ApiModel(value = "SysPermissionDto对象", description = "系统权限")
public class SysPermissionDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @ApiModelProperty(value = "访问路径")
    private String url;

    @ApiModelProperty(value = "是否删除？0否，1是")
    private Integer deleted;

    @ApiModelProperty(value = "创建用户id")
    private Integer createUserId;

    @ApiModelProperty(value = "更新用户id")
    private Integer updateUserId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "菜单id")
    private Long menuId;

}
